package com.aijk.ehm.dao.mybatis;

import com.aijk.ehm.model.EhmBanner;
import com.aijk.ehm.model.EhmBannerExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface EhmBannerMapper {
    int countByExample(EhmBannerExample example);

    int deleteByExample(EhmBannerExample example);

    int deleteByPrimaryKey(Long id);

    int insert(EhmBanner record);

    int insertSelective(EhmBanner record);

    List<EhmBanner> selectByExample(EhmBannerExample example);

    EhmBanner selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") EhmBanner record, @Param("example") EhmBannerExample example);

    int updateByExample(@Param("record") EhmBanner record, @Param("example") EhmBannerExample example);

    int updateByPrimaryKeySelective(EhmBanner record);

    int updateByPrimaryKey(EhmBanner record);
}